package org.fage.semples.dao;

import java.util.List;

import org.fage.semples.model.ExamSubject;
import org.fage.semples.model.PagerModel;

public interface ExamSubjectHiberanteDAO extends IBaseDAO<ExamSubject> {
	
	public PagerModel<ExamSubject> findAllByPage();
	public List<String> getAllUserBySubjcet(String subId);
	public ExamSubject getExamSubjectById(String subId);
	public List<ExamSubject> findAllExamSubject();
	public void createExamSubject(ExamSubject examSubject) throws Exception;
	public void editExamSubject(ExamSubject examSubject) throws Exception;
	public void deleteExamSubject(String subId) throws Exception;
	public void saveSubjectStudent(List<String> list, Integer subjectId);
	public void insertSubjectUser(List<String> insertList, Integer subjectId);
	public void deleteSubjectUser(List<String> delList, Integer subjectId);
}
